package com.pur.zsms.po;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_shopping_cart_cashier")
/**
 * 购物车 for 收银
 * @author 周
 *
 */
public class ShoppingCartCashierPo extends BaseEntity {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "cid")
	private int cid;

	@Column(name = "cart_id")
	private int cartId;

	@Column(name = "shop_id")
	private long shopId;

	@Column(name = "food_id")
	private int foodId;

	@Column(name = "food_value")
	private BigDecimal foodValue;

	@Column(name = "food_value_all")
	private BigDecimal foodValueAll;

	@Column(name = "food_name")
	private String foodName;

	@Column(name = "number")
	private BigDecimal number;

	public BigDecimal getNumber() {
		return number;
	}

	public void setNumber(BigDecimal number) {
		this.number = number;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public int getCartId() {
		return cartId;
	}

	public void setCartId(int cartId) {
		this.cartId = cartId;
	}

	public long getShopId() {
		return shopId;
	}

	public void setShopId(long shopId) {
		this.shopId = shopId;
	}

	public int getFoodId() {
		return foodId;
	}

	public void setFoodId(int foodId) {
		this.foodId = foodId;
	}

	public BigDecimal getFoodValue() {
		return foodValue;
	}

	public void setFoodValue(BigDecimal foodValue) {
		this.foodValue = foodValue;
	}

	public BigDecimal getFoodValueAll() {
		return foodValueAll;
	}

	public void setFoodValueAll(BigDecimal foodValueAll) {
		this.foodValueAll = foodValueAll;
	}

	public String getFoodName() {
		return foodName;
	}

	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}

}
